* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #f1e0bf;
  color: #333;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

section {
  padding: 60px 20px;
  opacity: 0;
  transform: scale(0.95);
  animation: zoomFade 1.5s forwards;
  animation-delay: 0.3s;
}
@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}



header {
  background-color: #8d616e;
  color: #191818;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 1s ease-in;
  box-shadow: 0 2px 5px rgba(65, 59, 59, 0.1);
}
@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

header h1 {
  font-size: 26px;
  animation: popText 2s infinite;
  text-shadow: 1px 1px 2px white;
}
@keyframes popText {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}




nav button {
  background-color: #745656;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

nav button:hover {
  background-color: #0f9fa9;
}




#menu {
  margin-top: 10px;
  background-color: #ffeaea;
  border-radius: 8px;
  padding: 10px;
  display: none;
  animation: fadeSlide 0.4s ease;
  position: absolute;
  right: 20px;
  top: 70px;
  width: 200px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#menu ul {
  list-style: none;
  padding: 0;
}

#menu ul li {
  margin: 8px 0;
}

#menu ul li a {
  text-decoration: none;
  color: #703838;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s;
}

#menu ul li a:hover {
  background-color: #ffdede;
}




section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1c46d3;
  text-align: center;
  font-family: cursive;
  font-style: italic;
  text-shadow: 2px 2px 1px #444;
}

section p {
  font-size: large;
  font-family: cursive;
  font-style: italic;
  color: #121212;
}

section img {
  width: 360px;
  height: 260px;
  border: 2px solid #121212;
  border-radius: 4px;
  display: block;
  margin: auto;
}




#gallery img,
#team img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  
  transition: transform 0.3s ease;
  
  
}

#gallery img:hover,
#team img:hover {
  transform: scale(1.1);
}

#team img {
  border-radius: 50%;
}



blockquote {
  font-style: italic;
  border-left: 4px solid #ffa8a8;
  padding-left: 15px;
  margin: 20px 0;
  font-size: 16px;
}

#clients ul {
  font-style: italic;
  font-family: cursive;
}



form input,
form textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 20px;
  background-color: #444488;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

form button:hover {
  background-color: #333366;
  transform: scale(1.05);
}



footer {
  background-color: #ffe5ec;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  color: #703838;
}




@media (max-width: 767px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 22px;
  }

  #menu {
    width: 100%;
    right: 0;
    top: 60px;
  }

  section img {
    width: 90%;
    height: auto;
  }

  #gallery img,
  #team img {
    width: 100px;
    height: 100px;
  }

  form input,
  form textarea {
    width: 100%;
  }
}




@media (min-width: 768px) {
  #menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  #menu ul {
    display: flex;
    gap: 15px;
  }

  nav button {
    display: none;
  }

  #menu ul li {
    margin: 0;
  }

  section {
    padding: 80px 100px;
  }

  section img {
    width: 500px;
    height: auto;
  }

  #gallery img,
  #team img {
    width: 160px;
    height: 160px;
  }
}




body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode header {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode nav button {
  background-color: #444;
}

body.dark-mode #menu {
  background-color: #2a2a2a;
}

body.dark-mode #menu ul li a {
  color: #ffd1dc;
}

body.dark-mode footer {
  background-color: #222;
  color: #bbb;
}

body.dark-mode form button {
  background-color: #6666aa;
}




.dark-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 5px;
  z-index: 1000;
  cursor: pointer;
}
